namespace Sessionizer.Core.Unity
{
    internal class ConcreteSessionsFactory<T>:ISessionsFactory<T>
    {
        private readonly T _instance;

        public ConcreteSessionsFactory(T instance)
        {
            _instance = instance;
        }

        public T Create()
        {
            return _instance;
        }
    }
}